/*
 * =====================================================================================
 *
 *       Filename:  Manager.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/05/2022 04:28:07 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#include "Manager.h"
#include <iostream>
using std::string;

CManager::CManager(void) {
    this->m_performance = "";
}

CManager::~CManager(void) {
}

string CManager::GetPerformance() {
    return m_performance;
}

void CManager::SetPerformance(string per) {
    this->m_performance = per;
}

string CManager::GetOtherInfo() {
    string info = "";
    info.append("业绩：");
    info.append(this->m_performance);
    info.append("\t");
    return info;
}

void CManager::Accept(IVisitor* pVisitor) {
    pVisitor->Visit(*this);
}
